package com.wh.bean;

import java.io.Serializable;

/**
 * Created by WH on 2016/9/17.
 */
public class TestA implements Serializable{

    private static final long serialVersionUID = -8968350748602548887L;

    private String name;

    //变量类型必须要为int的封装类型，因为只有是封装类型才可以调用Integer的方法
    private Integer order;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    @Override
    public String toString() {
        return "TestA{" +
                "name='" + name + '\'' +
                ", order=" + order +
                '}';
    }
}
